using System;
using System.Collections.Generic;
using System.Text;

namespace StrategyPattern
{
    class CashType
    {
        public CashType(string text, string value)
        {
            _text = text;
            _value = value;
        }

        private string _text = "";

        public string Text
        {
            get { return _text; }
            set { _text = value; }
        }
        private string _value = "";

        public string Value
        {
            get { return _value; }
            set { _value = value; }
        }

        public override string ToString()
        {
            return _text;// +" " + _value;
        }
    }
}
